//
//  WXSDreamTalkBubble.h
//  SleepBooks
//
//  Created by 王勇 on 2016/9/23.
//  Copyright © 2016年 rimi. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "WXSDreamTalkModel.h"

@class WXSDreamTalkBubble;

@protocol WXSDreamTalkBubbleDelegate <NSObject>

-(void)dreamTalkBubbleDidPressed:(WXSDreamTalkBubble*)bubble;

@end

@interface WXSDreamTalkBubble : UIView

/**
 *  若要正确显示气泡，必须给model赋值！！
 */
@property (nonatomic,strong)WXSDreamTalkModel *model;
@property(nonatomic,weak)id <WXSDreamTalkBubbleDelegate> delegate;
+(instancetype)bubble;
@end
